package com.alibaba.citrus.ots.sales.plan.api.setting;


import com.alibaba.citrus.ots.sales.plan.sdo.NotificationConfigSDO;
import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanSDO;
import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanScItemSDO;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;

import java.io.File;
import java.util.ArrayList;

@MeshFlowService(apps = {"bc_ots"}, name = "NotificationConfigWriteService")
public interface NotificationConfigWriteService {

    /**
     * 添加邮件通知设置
     *
     * @param notificationConfigSDO
     * @return
     */
    Result<String> createNotificationConfig(NotificationConfigSDO notificationConfigSDO);


    /**
     * 编辑收件人   通知内容
     *
     * @param notificationConfigSDO
     * @return
     */
    Result<Boolean> editAddressee(NotificationConfigSDO notificationConfigSDO);


    /**
     * 变更计划货品状态
     *
     * @param notificationConfigSDO
     * @return
     */
    Result<Integer> editNotificationConfigState(NotificationConfigSDO notificationConfigSDO);
/*
    *//**
     * 上传
     *
     * @param
     * @return
     *//*
    Result<Boolean> generateExcel();*/


}
